package com.example.clientsideapplication;

import java.io.Serializable;
import java.sql.Date;

public class Offer implements Serializable{

	private static final long serialVersionUID = -4784455671278043249L;
	private int idOffer;
	private String productCategory;
	private String productName;
	private String productInfo;
	private Date startDate, endDate;
	private double productPrice;

	public Offer(int idOffer, String productCategory, String productName, String productInfo, Date startDate, Date endDate, double productPrice){
		this.idOffer = idOffer;
		this.productCategory = productCategory;
		this.productName = productName;
		this.productInfo = productInfo;
		this.startDate = startDate;
		this.endDate = endDate;
		this.productPrice = productPrice;
	}
	
	public Offer(String productCategory, String productName, String productInfo, Date startDate, Date endDate, double productPrice){
		this.productCategory = productCategory;
		this.productName = productName;
		this.productInfo = productInfo;
		this.startDate = startDate;
		this.endDate = endDate;
		this.productPrice = productPrice;
	}

	
	public Offer(String productCategory, String productName, double productPrice){
		this.productCategory = productCategory;
		this.productName = productName;
		this.productPrice = productPrice;
	}

	public String getProductCategory() {
		return productCategory;
	}

	public String getProductName() {
		return productName;
	}
	
	public String getProductInfo() {
		return productInfo;
	}

	public Date getStartDate() {
		return startDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public double getProductPrice() {
		return productPrice;
	}
	
	public int getIdOffer() {
		return idOffer;
	}

	
	
}
